package com.ffcs.web.model.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * WechatCity entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wechat_city")
public class WechatCity implements java.io.Serializable {

	// Fields

	private Integer cityId;
	private String company;
	private String cityName;
	private String cityCode;

	// Constructors

	/** default constructor */
	public WechatCity() {
	}

	/** full constructor */
	public WechatCity(String company, String cityName, String cityCode) {
		this.company = company;
		this.cityName = cityName;
		this.cityCode = cityCode;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "cityId", unique = true, nullable = false)
	public Integer getCityId() {
		return this.cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	@Column(name = "company", length = 100)
	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Column(name = "cityName", length = 100)
	public String getCityName() {
		return this.cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	@Column(name = "cityCode", length = 100)
	public String getCityCode() {
		return this.cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

}